package top.mcwebsite.playandroid.business.project.impl.vm

import top.mcwebsite.playandroid.business.project.impl.model.ProjectModel
import top.mcwebsite.playandroid.lib.mvi.base.IIntent
import top.mcwebsite.playandroid.lib.mvi.base.IUiEffect
import top.mcwebsite.playandroid.lib.mvi.base.IUiState

data class ProjectUiState(
    val message: String = ""
) : IUiState

sealed interface ProjectIntent : IIntent {
    data class ClickItemIntent(val projectModel: ProjectModel) : ProjectIntent
}

sealed interface ProjectUiEffect : IUiEffect {
    data class NavigationToDetailPageUiEffect(val projectModel: ProjectModel) : ProjectUiEffect
}